package com.gxc.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author GongXincheng
 * @since 2019-08-15 23:59
 */
@Data
public class FindAllUserParamsDto implements Serializable {

    private String username;

    private String password;

    private Integer age;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date birthday;

    private String description;

    private int pageNum = 1;

    private int pageSize = 20;

}
